package p2p.logic.connection.communication.message;

import java.util.ArrayList;
import java.util.List;
import java.util.Set;

public class MessageSplitter {
	
	public MessageSplitter(){
		
	}
	
	public List<Message> splitMessage(Message message){
		ArrayList<Message> list = new ArrayList<Message>();
		list.add(message);
		return list;
	}
	
	public Message assembleMessage(Set<Message> message){
		// Currently only one Message is implemented
		for (Message m : message){
			return m;
		}
		return null;
	}

}
